def IsContinuous(numbers):
    if numbers == []:
        return False
    numbers.sort()
    zero_num = 0
    for a in numbers:
        if a == 0:
            zero_num += 1
        else:
            break
    numbers = numbers[zero_num:]
    pre_num = None
    for a in numbers:
        if pre_num is None:
            pre_num = a
        else:
            if a == pre_num:
                return False
            if a - pre_num > 1:
                if a - pre_num > zero_num + 1:
                    return False
                else:
                    zero_num = zero_num - (a - pre_num) + 1
            pre_num = a
    return True


print(IsContinuous([0, 3, 2, 6, 4]))
